{[foreach name=outer key=key item=item from=$result]}
dn: ou={[$item.code|truncate:2:'']},ou=employee,dc=tecmold,dc=com
ou: {[$item.code|truncate:2:'']}
description: {[$item.name]}
objectClass: organizationalUnit

{[/foreach]}